﻿using System;
using System.Collections.Generic;
using LinkNote.Core;
using MonoTouch.SQLite;
using Newtonsoft.Json;

namespace LinkNote.Model
{
    public class QueryResult
    {
        public string status;
        public string msg;
    }

    public class InitDirResult
    {
        public List<NoteClass> notecatalogue;
        public List<LinkNoteFile> rows;
        public int totalnotecount;
    }

    public class AddDirResult
    {
        public int id;
    }

    public class SaveNoteResult
    {
        public int noteid { get; set; }
        public DateTime createTime { get; set; }
        public DateTime modifyTime { get; set; }
    }

    public class FindNoteContentResult
    {
        public string notecontent;
    }

    public class FindNoteBookResult
    {
        public List<LinkNoteFile> rows;
    }

    public class UploadResult
    {
        public int fileId;
        public string fileName;
        public string saveDir;
    }
}